{% from "./common/heads.html" import head,foot,header,side %}
{% block head %}
{{ head()}}
{% endblock %}

<div id="master">
    {% block header %}
    {{ header(panel)}}
    {% endblock %}

    {% block side %}
    {{ side(sidelist,tpl) }}
    {% endblock %}
    <div class="main-content">
        <div class="log">
            <div class="container-side drop-title"><h1 class="nav-title">权限code-injection</h1>
                <div class="nav-aside">
                    <ul class="side-nav">
                        <li data-code="setting／logs" class="drop-title-item first yui-this"><a
                                href="/master/permision/admin" class="router-link-active"><span
                                class="nav-title">admin</span></a></li>
                    </ul>
                </div>
            </div>
            <div class="container-main drop-body">
                <div class="allMerchant"><p class="breadcrumb"><span>权限</span> <span class="divider">/</span> <span
                        class="active">admin</span></p>
                    <div class="panel-content">
                        <ul class="yui-tab-navigator cf">
                            <li class="yui-this"><a href="/master/permision/admin#a1" class="">角色</a></li>
                            <li class=""><a href="/master/permision/admin#b2" class="">资源</a></li>
                        </ul>
                        <div class="drop-body">
                            <div>
                                <div class="operation-wrap"><a href="/master/permision/newRole"
                                                               class="btn btn-primary btn-small">添加角色</a></div>
                                <table lay-skin="line" class="yui-table">
                                    <thead>
                                    <tr>
                                        <th>ID</th>
                                        <th>名称</th>
                                        <th>权限值</th>
                                        <th width="150">操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr>
                                        <td>10</td>
                                        <td>merchant</td>
                                        <td></td>
                                        <td><a href="/master/permision/roleDetail/10" class="btn btn-primary btn-mini">详情
                                        </a> <span class="btn btn-primary btn-mini">删除</span></td>
                                    </tr>
                                    <tr>
                                        <td>9</td>
                                        <td>resellerrefer</td>
                                        <td></td>
                                        <td><a href="/master/permision/roleDetail/9" class="btn btn-primary btn-mini">详情
                                        </a> <span class="btn btn-primary btn-mini">删除</span></td>
                                    </tr>
                                    <tr>
                                        <td>8</td>
                                        <td>store</td>
                                        <td></td>
                                        <td><a href="/master/permision/roleDetail/8" class="btn btn-primary btn-mini">详情
                                        </a> <span class="btn btn-primary btn-mini">删除</span></td>
                                    </tr>
                                    <tr>
                                        <td>6</td>
                                        <td>merchantSuperAdmin</td>
                                        <td></td>
                                        <td><a href="/master/permision/roleDetail/6" class="btn btn-primary btn-mini">详情
                                        </a> <span class="btn btn-primary btn-mini">删除</span></td>
                                    </tr>
                                    </tbody>
                                </table>
                            </div> <!----></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{% block foot %}
{{ foot(sidelist) }}
{% endblock %}